package callback;

import com.sun.tracing.dtrace.FunctionAttributes;

/**
 * @Author wsyjiamian@163.com
 * @Description lamda基础知识
 * @Date 2020/8/18 13:22
 */

public class FunctionCode {
    public static void main(String[] args) {
        Algi al = (int a , int b)-> a+b ;
        System.out.println(al.add(4,5));
    }
}

@FunctionalInterface
interface Algi{
    int add(int a , int b);
}
